package com.xuan.factory.method;

/**
 * 生产手机的工厂
 */
public class PhoneFactory implements DeviceFactory{
    @Override
    public Device createDevice() {
        return new Phone();
    }
}
